package com.net.xpay.common.manager.stat;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.stat.PartnerUserRealTimeStat;
import com.net.xpay.common.model.PartnerUserSumModel;
import com.net.xpay.common.model.search.PartnerUserRealTimeStatSearchModel;

import java.util.List;


public interface PartnerUserRealTimeStatManager extends DomainManager<Long,PartnerUserRealTimeStat> {
    PartnerUserRealTimeStat getByUserId(Long userId);


    List<PartnerUserRealTimeStat> search(PartnerUserRealTimeStatSearchModel searchModel);

    long searchCount(PartnerUserRealTimeStatSearchModel searchModel);


    PartnerUserSumModel aggSum(PartnerUserRealTimeStatSearchModel searchModel);
}
